<?php

class Application_Model_Register
{
	private $_dbTable;
	public function __construct(){
		$this->_dbTable = new Application_Model_DbTable_User();
	}
	public function createUser($arr){
		$this->_dbTable->insert($arr);
	}
	public function updateUser($arr,$id){
		//$this->_dbTable->insert($arr);
		$this ->_dbTable->update($arr,"id= $id");
		
	}
	public  function deleteUser($id){
		$this->_dbTable->delete("id = $id");
	}
}

